<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
</style>

<script>
	import Vue from 'vue';
	export default {
		onLaunch: function(options) {
			uni.getSystemInfo({
				success: function(e) {
					// 可使用窗口高度
					Vue.prototype.$windowHeight = e.windowHeight;
					Vue.prototype.StatusBar = e.statusBarHeight;
					if (e.platform == 'android') {
						Vue.prototype.CustomBar = 48;
					} else {
						Vue.prototype.CustomBar = 44;
					}
				}
			});
		},
		onShow: function() {},
		onHide: function() {},
		methods: {}
	};
</script>

<style>
	/*每个页面公共css */
	@import url('./common/common.less');
</style>
